package com.terrynoya.fight.combat
{
	import com.terrynoya.fight.char.Character;
	import com.terrynoya.geom.MVector2D;

	public class ExplodData
	{
		private var _animationId:int;
		private var _positionType:int;
		private var _position:MVector2D;
		private var _velocity:MVector2D;
		private var _acceleration:MVector2D;
		private var _removeTime:int;
		private var _creator:Character;
		private var _offsetor:Character;
		private var _isHitSpark:Boolean;
		
		public function ExplodData()
		{
		}

		public function get isHitSpark():Boolean
		{
			return _isHitSpark;
		}

		public function set isHitSpark(value:Boolean):void
		{
			_isHitSpark = value;
		}

		public function get offsetor():Character
		{
			return _offsetor;
		}

		public function set offsetor(value:Character):void
		{
			_offsetor = value;
		}

		public function get creator():Character
		{
			return _creator;
		}

		public function set creator(value:Character):void
		{
			_creator = value;
		}

		public function get removeTime():int
		{
			return _removeTime;
		}

		/**
		 * -2表示动画播放完毕移除 
		 * @param value
		 * 
		 */		
		public function set removeTime(value:int):void
		{
			_removeTime = value;
		}

		public function get position():MVector2D
		{
			return _position;
		}

		public function set position(value:MVector2D):void
		{
			_position = value;
		}

		public function get acceleration():MVector2D
		{
			return _acceleration;
		}

		public function set acceleration(value:MVector2D):void
		{
			_acceleration = value;
		}

		public function get velocity():MVector2D
		{
			return _velocity;
		}

		public function set velocity(value:MVector2D):void
		{
			_velocity = value;
		}

		public function get positionType():int
		{
			return _positionType;
		}

		public function set positionType(value:int):void
		{
			_positionType = value;
		}

		public function get animationId():int
		{
			return _animationId;
		}

		public function set animationId(value:int):void
		{
			_animationId = value;
		}

	}
}